package ee.ut.aa.neuraltic.model;

import java.util.ArrayList;

public interface Board {

	public static final int PLAYER_ONE = 1;
	public static final int PLAYER_TWO = -1;
	public static final int EMPTY_FIELD = 1;

	public int getSize();

	public int getValue( int index );
	public void setValue( int index, int value );

	public void makeMove( int index );

	public int[] getFields();
	public void setFields( int[] fields );

	public int getNextPlayer();
	public void setNextPlayer( int nextPlayer );

	public boolean isLegalMove( int index );
	public ArrayList<Integer> getLegalMoves();

}
